
/*********************************************************/
/*     dlg_main.h        Header file for dlg_main.cpp    */
/*                       By: Josh Fiorio                 */
/*********************************************************/

#ifndef _DLG_MAIN_H_
#define _DLG_MAIN_H_

/* win32 libraries */
#include <windows.h>

/* resources */
#include "resources.h"

/* chaoxed libraries */
#include "../common/chaotix_art.h"        // for read/write art to/from chaotix
#include "../common/chaotix_palette.h"    // for read/write palette to chaotix
#include "../common/chaotix_pointer.h"    // for read/write pointer to chaotix
#include "../common/framebuffer.h"        // for special class used to store pixel data
#include "../common/art-buf.h"            // for read/write art and palette to/from framebuffer  
#include "../common/export.h"             // for write art and palette to various image files
#include "../common/import.h"             // for get art and palette from various image files
#include "../common/fix_checksum.h"       // for fixing the checksum
       
/* dialogs */
#include "bitmap_import.h"
#include "dlg_about.h"
#include "dlg_files.h"
#include "dlg_input.h"
      
/* function prototypes */
BOOL CALLBACK MAIN_DLG_Func(HWND, UINT, WPARAM, LPARAM);
void UpdatePointers(pointer [], HWND);
void DrawMainStatusBar(HWND, HDC);
void PaintColorBoxes(HWND, HDC);
void BlitBuf(HWND, HDC, FrameBuffer &, int);
bool GetDlgItemRect(HWND, int, RECT &);
void InvalidateDlgItem(HWND, int);

#endif /*_DLG_MAIN_H_*/           
